<?php

//微信管理
Route::group(['prefix' => 'wechat', 'namespace' => 'Wechat', 'as' => 'wechat.'], function () {

    Route::group(['prefix' => 'menu'], function () {

        //首页
        Route::get('index', 'MenuController@index')->name('menu.index');
        //编辑
        Route::put('update', 'MenuController@update')->name('menu.update');
        //删除
        Route::delete('destroy', 'MenuController@destroy')->name('menu.destroy');

    });


    //抽奖管理
    Route::resource('draw', 'DrawController');

    //中奖名单
    Route::get('/', 'PrizeController@index')->name('prize.index');
    Route::delete('delete', 'PrizeController@delete')->name('prize.delete');
});